package CourseSelection;

public class Student {
	private int Age;
	private String Name;
	private int Number;
	private String Sex;
	Student(String n,int cage,int b,String x){
		Name = n;
		if(cage<30&&cage>15) {
			Age = cage;
		}else {Age = 18;}
		 Number = b;
		 Sex = x;
	}
	public int getAge(){
	
		return Age;
	}
	public String getName() {
		return Name;
	}
	public int getNumber() {
		return  Number;
	}

	public String getSex() {
		return Sex;
	}
	

}
